package com.hg.library.Interface;

import android.animation.ValueAnimator;

/**
 * Created by ASUS-PC on 2016/5/31.
 */
public abstract class AnimatorUpdateListener implements ValueAnimator.AnimatorUpdateListener{

    @Override
    public void onAnimationUpdate(ValueAnimator animation) {
        this.onAnimationUpdate((Float) animation.getAnimatedValue());
    }
    public abstract void onAnimationUpdate(float value);

}
